import LayoutBase from '@/components/layout/layoutBase.vue'

import userView from './userView.vue'
import pointLogsView from './pointLogsView.vue'

const router = [
  {
    path: '/user',
    component: LayoutBase,
    meta: {
      title: '用户管理',
    },
    children: [
      {
        path: 'list',
        name: 'user.list',
        component: userView,
        meta: {
          title: '用户管理',
        },
      },
      {
        path: 'pointLogs',
        name: 'user.pointLogs',
        component: pointLogsView,
        meta: {
          title: '积分日志',
        },
      },
    ],
  },
]

export default router
